package net.csdn.business.notify.api.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @author likun
 * @date 2023/1/4 19:02
 */
@Data
@Configuration
@RefreshScope
public class ApiConfigData {



    @Value("${notify.batch.limit:1000}")
    private Integer batchLimit;

    @Value("${notify.receiver.limit:1000}")
    private Integer receiverLimit;

    @Value("${atom.git.host:https://atomgit.com}")
    private String atomGitHost;

    @Value("${image.host:https://community.codechina.net}")
    private String imgUrl;


    @Value("${cache.redis.prefix:at}")
    private String redisKeyPrefix;
    @Value("${cache.default.time.out:60}")
    private Integer redisDefaultTimeOut;
}